using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;

namespace BlockOS.Client
{
    public class LoadingPage : MonoBehaviour
    {
        [SerializeField]
        private Graphic background;
        [SerializeField]
        private TMP_Text description;

        public void SetDescription(string text)
        {
            description.text = text;
        }

        public void Show()
        {
            gameObject.SetActive(true);
        }

        public void Hide()
        {
            gameObject.SetActive(false);
        }
    }
}
